<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>swiper</title>
    <!-- 引入bootstrapcss文件 -->
    <link rel="stylesheet" href="./css/bootstrap4.6.2.css">

    <!-- 引入js文件 -->
    <!-- 引入jquery.js -->
    <script src="./js/jquery-3.3.1.slim.min.js"></script>
    <!-- 引入bootstrap.js -->
    <script src="./js/bootstrap.min.js"></script>

    <style>
        .container-fluid {
            padding: 0;
        }
        #carouselExampleIndicators img {
            height: 550px;
        }
    </style>
</head>

<body>

    <!-- 创建一个放轮播图的容器 -->
    <div class="container-fluid">
        <div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
            <ol class="carousel-indicators">
                <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
                <li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
                <li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
            </ol>
            <div class="carousel-inner">
                <div class="carousel-item active" data-interval="3000" >
                    <img src="../huawei/images/banner01.webp" class="d-block w-100" alt="...">
                </div>
                <div class="carousel-item" data-interval="3000">
                    <img src="../huawei/images/banner02.webp" class="d-block w-100" alt="...">
                </div>
                <div class="carousel-item" data-interval="3000">
                    <img src="../huawei/images/banner03.webp" class="d-block w-100" alt="...">
                </div>
            </div>
            <a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
                <span class="carousel-control-prev-icon" aria-hidden="true"></span>
                <span class="sr-only">Previous</span>
            </a>
            <a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
                <span class="carousel-control-next-icon" aria-hidden="true"></span>
                <span class="sr-only">Next</span>
            </a>
        </div>
    </div>

</body>

</html>